﻿
namespace QDP.Platform.Silverlight
{
    public sealed class NParams
    {
        /// <summary>表示应用在平台加载完成自动运行。</summary>
        public const string Autorun = "Autorun";
        /// <summary>表示应用实例化时传入的参数。</summary>
        public const string Args = "Args";
        /// <summary>表示应用注册JavaScript对象名称。</summary>
        public const string ScriptableObject = "ScriptableObject";
        /// <summary>表示忽略该应用触发的未处理异常。</summary>
        public const string IgnoreError = "IgnoreError";
        /// <summary>表示应用自定义磁贴样式</summary>
        public const string CustomTile = "CustomTile";
        /// <summary>表示应用自定义磁贴所占列数，整型</summary>
        public const string ColumnSpan = "ColumnSpan";
        /// <summary>表示应用自定义磁贴所占行数，整型</summary>
        public const string RowSpan = "RowSpan";
        /// <summary>表示前置约束不成立时是否显示提示框，默认为true；</summary>
        public const string PremiseTipIsNone = "PremiseTipIsNone";
        /// <summary>表示应用启动时的前提；当前提不成立时，启动失败</summary>
        public const string ShowPremise = "ShowPremise";
        /// <summary>表示应用关闭时的前提；当前提不成立时，关闭失败</summary>
        public const string ClosePremise = "ClosePremise";
        /// <summary>表示应用的互斥分组，若设置了之后则同分组内有应用启动时，关闭其他已启动的应用。</summary>
        public const string ExclusionGroup = "ExclusionGroup";
        /// <summary>表示应用启动后是否隐藏专题工具栏</summary>
        public const string AutoHideTopic = "AutoHideTopic";
        /// <summary>表示应用关闭后是否展开专题工具栏</summary>
        public const string AutoShowTopic = "AutoShowTopic";
        /// <summary>自动隐藏触发间隔关键字</summary>
        public const string AutoHideSpan = "AutoHideSpan";
        /// <summary>自动触发间隔默认值</summary>
        public const double DEFAULT_AUTO_HIDE_SPAN = 1000;
        public const string ShowInToolbar = "ShowInToolbar";
        public const string ShowInTile = "ShowInTile";

        /// <summary>表示bool类型属性的值 true</summary>
        public const string True = "true";
        /// <summary>表示bool类型属性的值 false</summary>
        public const string False = "false";
        
        /// <summary>元数据分组：高级</summary>
        public const string CategoryAdvanced = "高级";
        /// <summary>元数据分组：组件</summary>
        public const string CategoryCommon = "组件";
        /// <summary>元数据分组：布局</summary>
        public const string CategoryLayout = "布局";
        /// <summary>元数据分组：外观</summary>
        public const string CategoryStyle = "外观";
        /// <summary>元数据分组：自定义</summary>
        public const string CategoryCustom = "自定义";
    }
}
